NuclearEngagement\Services\PostsQueryService S

Total Complexity 28
Dependencies 7
Dependents 2
Total lines 245
Lines of code 127
Logical lines of code 85
Comment lines 66
Methods 11
Properties 3

Methods 11

Method Rating Maintainability Complexity Lines of code
countPostsOptimized()
S
49 5 31
get_memory_limit()
S
55 5 20
get_query_params()
S
61 5 13
get_posts_count()
S
55 3 20
build_optimized_sql()
S
63 3 11
get_posts_count_only()
S
60 2 13
__construct()
S
73 1 5
register_hooks()
S
75 1 4
clear_cache()
S
76 1 4
build_query_args()
S
80 1 3
build_sql_clauses()
S
80 1 3